package cn.caplike.demo.repository.design.pattern.responsibilitychain;

class ConcreteHandlerC extends Handler {

    @Override
    boolean handle(String message, Integer days) {
        if (days <= 30) {
            System.out.println("处理请求：" + message);
            System.out.println("请假天数：" + days);
            System.out.println("ConcreteHandlerC handled");
            return true;
        }

        return false;
    }
}
